package biz.ezcom.spring.ioc.service.impl;

import biz.ezcom.spring.ioc.dao.UserDao;
import biz.ezcom.spring.ioc.pojo.User;
import biz.ezcom.spring.ioc.service.UserService;

public class UserServiceImpl implements UserService {
	private UserDao userDao;
	
	public UserDao getUserDao() {
		return userDao;
	}
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	@Override
	public void saveUser(User user) {
		userDao.saveUser(user);
	}

}
